package com.bw.service;

import com.bw.entity.Configuration;
import com.bw.entity.Pojectuser;
import com.bw.entity.TbRule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("port-server")
public interface PojectuserService {
    @GetMapping("pojectuserlist")
    List<Pojectuser> pojectuserlist();
    @GetMapping("configurationlist")
    List<Configuration> configurationlist(@RequestParam("pid") int pid);
}
